﻿<%@ Control Language="c#" Inherits="TTQT.Administration.CmdManagement" CodeFile="CmdManagement.ascx.cs" %>
<table height="100%" width="100%" cellSpacing="0" cellPadding="0" border="0">
	<tr>
		<td vAlign="top" width="35%">
			<asp:ListBox id="lstCmds" runat="server" Width="100%" AutoPostBack="true" SelectionMode="Single"
				Rows="30" DataTextField="Cmd_Name" DataValueField="Cmd_Id" onselectedindexchanged="lstCmds_SelectedIndexChanged"></asp:ListBox>
		</td>
		<td vAlign="top" width="65%">
			<table class="Area" id="table3" cellSpacing="0" cellPadding="5" width="100%" border="0">
				<tr>
					<td colSpan="2">
                        &nbsp;
						<asp:Label id="lblUpdateStatus" runat="server"></asp:Label></td>
				</tr>
				<tr>
					<td width="25%">
                        &nbsp; ID</td>
					<td>
						<asp:TextBox id="txtID" Width="224px" runat="server" Enabled="False"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
                        &nbsp; Mã sắp xếp</td>
					<td>
						<asp:TextBox id="txtOrderCode" Width="224px" runat="server"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
                        &nbsp; Tên</td>
					<td>
						<asp:TextBox id="txtName" Width="224px" runat="server"></asp:TextBox>
						<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" Display="Dynamic" ControlToValidate="txtName"
							ErrorMessage="(*)"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
                        &nbsp; Đường dẫn</td>
					<td>
						<asp:TextBox id="txtPath" Width="224px" runat="server"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
                        &nbsp; Menu cha</td>
					<td>
						<asp:DropDownList id="cboParent" Width="224px" runat="server"></asp:DropDownList>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<asp:CheckBox id="chkDisplay" Runat="server" Text="Hiển thị trên menu ngang"></asp:CheckBox></td>
				</tr>
			</table>
			<BR>
			<table class="SidePanel" id="table2" height="35" cellSpacing="0" cellPadding="3" width="100%"
				border="0">
				<tr>
					<td align="center">
						<asp:Button id="cmdUpdate" Width="77" runat="server" Text="Cập nhật" onclick="cmdUpdate_Click"></asp:Button>
						<asp:Button id="cmdAddNew" Width="77px" runat="server" Text="Thêm mới" onclick="cmdAddNew_Click"></asp:Button>
						<asp:Button id="cmdDelete" Width="77px" runat="server" Text="Xóa" onclick="cmdDelete_Click"></asp:Button>
						<asp:Button id="cmdEmpty" Width="77" runat="server" Text="Thoát" CausesValidation="False" onclick="cmdEmpty_Click"></asp:Button></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
